Repository navigation
fix: close remaining incremental read and watch validation gaps - #269
Merged
Merged
Conversation
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
mindsocket
commented
Nov 30, 2026
mindsocket
force-pushed
the
fix/259-incremental-validation-gaps
branch
from
November 30, 2026 13:11
d2bf032 to
6b12f7f
Compare
mindsocket
commented
Nov 30, 2026
mindsocket
force-pushed
the
fix/259-incremental-validation-gaps
branch
from
November 30, 2026 13:28
6b12f7f to
ddd8885
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #259
Summary
Addresses the 4 remaining items from #259 (items #4, #5, and #6 were already resolved in #256 and #257):
validateCLI options inwatchValidate(src/index.ts,src/commands/validate.ts):--watchnow passes--semantic,--no-cache,--rejudge,--cached-only,--depth,--include-gated,--rule-filter, and--jsonthrough to every watch validation run.readSpaceDirectory(src/plugins/markdown/read-space.ts):options.filesnow skips any path with a dot-prefixed segment (e.g..obsidian/,.trash/,.git/,.sctx/), matching fullreadSpace(fast-globdefaultdot: false).watchValidatechange events (src/commands/validate.ts): ExtractedcreateWatchSessionwith a promise queue so overlappingchokidarevents (such asunlink+addon rename) cannot race oncurrentReadResult.PluginContext.callbacks.validate(src/plugins/util.ts): Added'cacheMode' | 'cacheDir'to the callback'sPick<ValidateSpaceOptions, ...>(src/render/render.tsalready spreadsvalidateOptionsintovalidateSpace).Verification
bun test tests/read/refresh-read-result.test.ts tests/validate/watch-validate.test.ts(14 pass, 0 fail)lefthookpre-push (check-plugin-version,pushed-treefull test + hook suites,review-check)